import React from 'react'
import ReactDOM from 'react-dom/client'
// 初始化样式
import "reset-css"

// ui框架样式
import 'antd/dist/antd.css'; // or 'antd/dist/antd.less'
// 全局样式
import "@/assets/styles/global.scss"

// 组件样式
import App from './App'
import Router from "./router/index"

import {BrowserRouter} from "react-router-dom"

// 状态管理
import { Provider } from 'react-redux';
import store from "@/store"

ReactDOM.createRoot(document.getElementById('root')!).render(
  <Provider store={store}>
    <BrowserRouter>
      <App />
    </BrowserRouter>
  </Provider>,
)
